﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.FW.View;       

	/// <summary>
    /// 高级查询配置表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(FWAdvanceSetEntity))] 
    public partial class FWAdvanceSetDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 配置名称
        /// </summary>
		[Display(Name = "配置名称", Description = "配置名称")]
        [Column("AdvanceSetName")]
		[StringLength(128)]
        public string AdvanceSetName { get; set; }
        
		/// <summary>
        /// 页面地址
        /// </summary>
		[Display(Name = "页面地址", Description = "页面地址")]
        [Column("AdvancePage")]
		[StringLength(128)]
        public string AdvancePage { get; set; }
        
		/// <summary>
        /// 配置的Json串
        /// </summary>
		[Display(Name = "配置的Json串", Description = "配置的Json串")]
        [Column("AdvanceSetJson")]
		[StringLength(99999)]
        public string AdvanceSetJson { get; set; }
        
		/// <summary>
        /// 用户GUID
        /// </summary>
		[Display(Name = "用户GUID", Description = "用户GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 查询类型(1,高级查询;2,首页查询)
        /// </summary>
		[Display(Name = "查询类型(1,高级查询;2,首页查询)", Description = "查询类型(1,高级查询;2,首页查询)")]
        [Column("AdvanceSetType")]
        public FWAdvanceSetAdvanceSetTypeEnum? AdvanceSetType { get; set; }
        
    }
    
    /// <summary>
    /// 高级查询配置表新增时候的dto
    /// </summary>
	[AutoMap(typeof(FWAdvanceSetEntity))]
    [AutoMapFrom(typeof(ViewFWAdvanceSet))] 
    public partial class FWAdvanceSetCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 配置名称
        /// </summary>
		[Display(Name = "配置名称", Description = "配置名称")]
        [Column("AdvanceSetName")]
		[StringLength(128)]
        public string AdvanceSetName { get; set; }
        
		/// <summary>
        /// 页面地址
        /// </summary>
		[Display(Name = "页面地址", Description = "页面地址")]
        [Column("AdvancePage")]
		[StringLength(128)]
        public string AdvancePage { get; set; }
        
		/// <summary>
        /// 配置的Json串
        /// </summary>
		[Display(Name = "配置的Json串", Description = "配置的Json串")]
        [Column("AdvanceSetJson")]
		[StringLength(99999)]
        public string AdvanceSetJson { get; set; }
        
		/// <summary>
        /// 用户GUID
        /// </summary>
		[Display(Name = "用户GUID", Description = "用户GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 查询类型(1,高级查询;2,首页查询)
        /// </summary>
		[Display(Name = "查询类型(1,高级查询;2,首页查询)", Description = "查询类型(1,高级查询;2,首页查询)")]
        [Column("AdvanceSetType")]
        public FWAdvanceSetAdvanceSetTypeEnum? AdvanceSetType { get; set; }
        
    }
     
     /// <summary>
    /// 高级查询配置表更新时候Dto
    /// </summary>
	[AutoMap(typeof(FWAdvanceSetEntity))]
    [AutoMapFrom(typeof(ViewFWAdvanceSet))] 
    public partial class FWAdvanceSetUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 配置名称
        /// </summary>
		[Display(Name = "配置名称", Description = "配置名称")]
        [Column("AdvanceSetName")]
		[StringLength(128)]
        public string AdvanceSetName { get; set; }
        
		/// <summary>
        /// 页面地址
        /// </summary>
		[Display(Name = "页面地址", Description = "页面地址")]
        [Column("AdvancePage")]
		[StringLength(128)]
        public string AdvancePage { get; set; }
        
		/// <summary>
        /// 配置的Json串
        /// </summary>
		[Display(Name = "配置的Json串", Description = "配置的Json串")]
        [Column("AdvanceSetJson")]
		[StringLength(99999)]
        public string AdvanceSetJson { get; set; }
        
		/// <summary>
        /// 用户GUID
        /// </summary>
		[Display(Name = "用户GUID", Description = "用户GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 查询类型(1,高级查询;2,首页查询)
        /// </summary>
		[Display(Name = "查询类型(1,高级查询;2,首页查询)", Description = "查询类型(1,高级查询;2,首页查询)")]
        [Column("AdvanceSetType")]
        public FWAdvanceSetAdvanceSetTypeEnum? AdvanceSetType { get; set; }
        
    }
}
